package com.ym.datasource;


/**
 * Description
 * Created by 王伟
 * Date create on 21:34 2018/6/20.
 */
public enum DataSourceType {
    SOURCE_1("read", "商品数据库-默认"),
    SOURCE_2("write", "数据写入-主数据源"),
    YS_IM("ysIm", "用户数据库-切换");
    String source;
    String desc;

    DataSourceType(String source, String desc) {
        this.source = source;
        this.desc = desc;
    }

    public String getSource() {
        return source;
    }

    public String getDesc() {
        return desc;
    }
}
